package phoenics.manpads.common.auth;

import org.springframework.security.core.Authentication;
import org.springframework.security.web.authentication.AuthenticationSuccessHandler;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * 登录成功内容
 *
 * @author Phoenics Chow
 * on 2018年12月15日
 */
public class RestSuccessHandler implements AuthenticationSuccessHandler {
    private static org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(RestSuccessHandler.class);

    @Override
    public void onAuthenticationSuccess(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Authentication authentication) throws IOException, ServletException {

    }
}
